package com.baiyang.server.service.transaction;


import com.baiyang.server.model.transaction.Orders;
import com.baiyang.server.service.BaseService;

public interface OrdersService extends BaseService<Orders> {

    void placeOrder(Orders orders);

    /**
     * 根据书籍ID获取月销数量
     * @param id
     * @return
     */
    int getMonthlySales(String id);
}
